// 此文件作为Generator 的核心入口


const Generator = require("yeoman-generator")

module.exports = class extends Generator{
    writing(){
        // this.fs.write(
        //     this.destinationPath("temp.txt"),
        //     Math.random().toString()
        // )
    //通过模板方式写入文件到目标目录
    const tmpl = this.templatePath("foo.txt")
    const output = this.destinationPath("foo.txt")
    const context = {titile:"hello Z"}
    }
}